package com.takeoff.iot.modbus.netty.channel;

import com.takeoff.iot.modbus.netty.device.ModbusControlCentre;
import com.takeoff.iot.modbus.netty.service.MappingsImpl;

import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

public class ModbusChannelGroup extends MappingsImpl<ModbusChannel> implements ModbusControlCentre {

	public ModbusChannelGroup(){
		super(new ConcurrentHashMap<>());
	}

	@Override
	public List<ModbusChannel> groups() {
		return list();
	}
}
